import rxAjax from '@/assets/ajax.js';
export const modulesApi = {};
modulesApi.readInsNews = function(pkId){
    let url = '/api-portal/portal/core/insNews/readInsNews?pkId='+pkId;
    return rxAjax.get(url).then(res=>{
        return res;
    })
}
modulesApi.getByIdUserId = function(userId){
    var url ='/api-user/user/org/osUser/getById?userId='+userId;
    return rxAjax.get(url).then(res=>{
        return res;
    })
}
export default modulesApi